package com.mindskip.xzs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.mindskip.xzs.domain.DepartmentUser;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.viewmodel.admin.dept.AddSidelineReq;
import com.mindskip.xzs.viewmodel.admin.dept.SidelineRes;


public interface DepartmentUserService extends IService<DepartmentUser> {
    PageInfo<SidelineRes> pageSideline(Integer userId, Long deptId, Integer pageNum, Integer pageSize);

    Boolean addSideline(AddSidelineReq req);

    Boolean delSideline(Integer id, User user);
}
